package org.example.easybuy.service;

import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.example.easybuy.entity.User;

import java.util.Map;

public interface UserService {
    PageInfo<User> getUserPageInfo(Map<String,Object> params);
    boolean deleteUser(int id);
    boolean registerUser(User user);
    boolean updateUserPass(int id, String pass);
    boolean updateUser(User user);
    User getUserByLoginName(String loginName);
    boolean updateUserInfo(User user);
}
